.et-tabs {
  padding: 0 1rem;
}

.et-tabs, .tabs-content {
  width: 100%;
}

.tabs-title {
  a {
    color: #777;
    position: relative;
    font-size: 0.875rem;
    padding: 1.25rem 1.5rem;

    @include breakpoint(small only) {
      padding: 1.25rem 1rem;
    }

    &[aria-selected="true"] {
      background-color: $white;
      color: $black;

      &:after {
        position: absolute;
        content: ' ';
        border-bottom: 3px solid $primary-color;
        width: 100%;
        bottom: 0;
        left: 0;
      }
    }

    &:hover {
      color: $black;

      &:not([aria-selected="true"]):after {
        position: absolute;
        content: ' ';
        border-bottom: 3px solid $medium-gray;
        width: 100%;
        bottom: 0;
        left: 0;
      }
    }

  }
}

.tabs-panel {
  .et-ops-bar {
    padding: 0;
  }

  .et-form-panel {
    padding: 0 0 1rem;
  }
}
